import request from '@/utils/request'

export function getAwards(data) {
  return request({
    url: '/prize/event-prize-page',
    method: 'post',
    data
  })
}

export function addAward(data) {
  return request({
    url: '/prize/add-event-prize',
    method: 'post',
    data
  })
}

export function deleteAward(data) {
  return request({
    url: '/prize/delete-event-prize',
    method: 'post',
    data
  })
}

export function updateAward(data) {
  return request({
    url: '/prize/update-event-prize',
    method: 'post',
    data
  })
}
